#include <iostream>

#include "Integer.h"

using namespace std;

int main()
{
    Integer i1 = 8;
    Integer i2;
    Integer i3 = 25;
    Integer i4;
    Integer i5 = 65;
    string str("123");
    Integer i6 = "777";
    string s1;

    float yoyo = 0;
    yoyo += i1;


    cout<<s1 + i3<<endl;

    int ri1 = 10;
    ri1 += i5;
    cout<<"real int calc "<<ri1<<endl;

    cout<<"i6 string: "<<i6<<endl;

    char f = i5;

    cout<<f<<endl;

    //cin>>i5;
  //  cout<<i1 + 8<<endl;

    //str = i5;

    i2 = i1;
    i4 = i3 / i2 * 23.5 + i1 % 35;



    float f1;
    f1 = i2 + 4.797;

    cout<<"after assignment "<<i2<<endl;
    ++i2;
    cout<<"after preincrement "<<i2++<<endl;
    cout<<"after postincrement "<<i2<<endl;


    cout<<"adding one to other "<<4.78 + i2 + 3<<endl;
    cout<<"adding one to other and assignment "<<i4<<endl;

    cout<<"i1 == i3 "<<(10 < i1)<<endl;

    i5 -= i2;

    cout<<i5<<endl;
    cout<<(1<<i2)<<endl;

    cout<<"---------------"<<endl;
    i1 = 7;
    i2 = -4;
    cout<<(~i2 )<<endl;



    return 0;
}
